package com.ideal.manage.esms.bean.DTO;

/**
 * 前端ztree插件对象
 */
public class ZtreeDto {
    private String id;
    private String pId;
    private String name;
    private Boolean open;
    private Boolean checked;
    private String type;

    public ZtreeDto(){

    }

    public ZtreeDto(String id, String pId, String name, Boolean open, Boolean checked) {
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.open = open;
        this.checked = checked;
    }

    public ZtreeDto(String id, String pId, String name, String type){
        this.id = id;
        this.pId = pId;
        this.name = name;
        this.type = type;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getpId() {
        return pId;
    }

    public void setpId(String pId) {
        this.pId = pId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Boolean getOpen() {
        return open;
    }

    public void setOpen(Boolean open) {
        this.open = open;
    }

    public Boolean getChecked() {
        return checked;
    }

    public void setChecked(Boolean checked) {
        this.checked = checked;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }
}
